package com.msw.ssh.main;

import com.msw.ssh.config.AppConfig;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * × 通过全注解方式类启动Spring容器
 *
 * Created by hadoop on 16-1-9.
 */
public class App {
    public static void main(String[] args) {
        ApplicationContext context = new AnnotationConfigApplicationContext(AppConfig.class);

    }
}
